package com.library.model.serviceimple;

import java.util.List;

import com.library.model.dao.BookSearchDAO;
import com.library.model.dto.booksearch.BookSearchDTO;
import com.library.model.service.BookSearchService;

public class BookSearchServiceImple implements BookSearchService {
	private BookSearchDAO booksearchdao;
	
	public void setBooksearchdao(BookSearchDAO booksearchdao) {
		this.booksearchdao = booksearchdao;
	}

	@Override
	public List<BookSearchDTO> searchBooks(BookSearchDTO dto) {
		return booksearchdao.searchBooks(dto);
	}

}
